package com.oocl.o2o.merchant.vo;

import com.oocl.o2o.merchant.entity.Food;

public class FoodVO {
	private String id;
	private String name;
	private double price;
	private String image;
	private String foodType;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getFoodType() {
		return foodType;
	}
	public void setFoodType(String foodType) {
		this.foodType = foodType;
	}
	public FoodVO() {
		super();
	}
	public FoodVO (Food food){
		super();
		this.id=food.getId();
		this.name = food.getName();
		this.price = food.getPrice();
		this.image = food.getImage();
		this.foodType = food.getFoodType().getTypeName();
	}
	public FoodVO(String id, String name, double price, String imgPath,
			String foodType) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.image = imgPath;
		this.foodType = foodType;
	}
	
	
}
